From: cl349@firebug.cl.cam.ac.uk Date: Thu, 15 Sep 2005 09:21:10 +0000 (+0000) Subject: Don't special case getDomainMemory for ia64. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16780^2~76 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c4bc27e939e17ad036223e09921c24b38cd43402;p=xen.git Don't special case getDomainMemory for ia64. This makes how we account the "system pages" consistent. Signed-off-by: Christian Limpach --- diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py index 63e22c34d7..25d022d078 100644 --- a/tools/python/xen/xend/image.py +++ b/tools/python/xen/xend/image.py @@ -222,11 +222,7 @@ class ImageHandler: def getDomainMemory(self, mem_mb): """Memory (in KB) the domain will need for mem_mb (in MB).""" - if os.uname()[4] == 'ia64': - """Append extra system pages, like xenstore and console""" - return (mem_mb * 1024 + 3 * 16) - else: - return mem_mb * 1024 + return mem_mb * 1024 def buildDomain(self): """Build the domain. Define in subclass."""